import tensorflow as tf

print(tf.__version__)  #打印tensorflow版本